﻿@{
    ViewBag.Title = "链接管理";
    Layout = "~/Areas/Admin/Views/Shared/_Layout.cshtml";
}
<link href="/Content/page.css" rel="stylesheet" type="text/css" />
<script src="@Url.Content("/Content/js/jquery.paginate.js")" type="text/javascript"></script>
<script src="@Url.Content("/Scripts/FriendlyLink/FriendlyLink.js")" type="text/javascript"></script>

<div id="dlg_Edit" style="display: none;">
    @Html.Partial("Edit")
</div>
<form  method="post" id="edit" class="search">
    <input  id="create"  type="button" value="新增链接" class="button">
</form>
@Html.ActionLink("edit", "List", "FriendlyLink", new { index = 1, size = 3 }, new { @class = "search hidden" })
<div class="datalist" href="/FriendlyLink/List">
    @{Html.RenderAction("List", "FriendlyLink", new { index = 1, size = 3 });}
</div>
<div id="pageNum">
</div>
<script type="text/javascript">
    $(document).ready(function () {
        FriendlyLink.Init();
    });
</script>
